<?php

return [
    'default' => env('queue.default','redis'),
    'connections' => [
       'redis' => [
            'type' =>'redis',
            'host' => env('redis.host', '127.0.0.1'),
            'port' => env('redis.port', 6379),
            'password' => env('redis.password', ''),
            // 队列名
            'queue' => 'default',
            'retry_after' => 90,
            'block_for' => null,
            // 数据库编号
            'select' => 0,
            // 连接超时时间，单位秒
            'timeout' => 0,
            // 是否持久连接
            'persistent' => false,
        ],
    ],
    'failed' => [
        'type' => 'none',
        'table' => 'failed_jobs',
    ],
];